package com.ch.forum.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class MainController {

    private static final String INDEX_PAGE = "index";

    private static final String INDEX_SHOW_PAGE = "index-show";

    @GetMapping(value = {"/","/index"})
    public String index(){
        return INDEX_PAGE;
    }

    @GetMapping(value = "index-show")
    public String indexShow(){
        return INDEX_SHOW_PAGE;
    }


}
